cmake_minimum_required(VERSION 2.6)
project(optical_flow)

find_package(OpenCV REQUIRED)
find_package(Sophus REQUIRED)
find_package(Pangolin REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS}
                    ${G2O_INCLUDE_DIRS}
                    ${Sophus_INCLUDE_DIRS}
                    "/usr/include/eigen3/"
                    ${Pangolin_INCLUDE_DIRS}
                    )

add_executable(optical_flow main.cpp)
target_link_libraries(optical_flow ${OpenCV_LIBS})

install(TARGETS optical_flow RUNTIME DESTINATION bin)
